<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="tab-pane fade" id="3">
    <p class="vita-data">
        {"data":{"hideProdIds":["15212"],"isShowProds":"N","offerChgMbrServiceOfferId":3020800000,"offerContinueServiceId":3020400001,"changeMemberPriv":"Y","jumpRetainIds":[],"exchangePkgSwitch":"N","edOrderList":[{"statusCd":"1000","statusDate":"2023-06-18
        17:07:26","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:49","remark":"资产计算状态为：1000,","lastOrderItemId":510541415725,"dataVerNum":0,"offerInstId":510113809339,"offerId":500015590,"offerType":"11","ownerCustId":3008208163,"effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","createOrgId":510236767,"expProcMethod":"20","lanId":8410100,"regionId":8410101,"extOfferInstId":"413230618106830251","isIndependent":"1","offerName":"5G畅享99元套餐202112","ownerCustName":"乔威","offerSysType":"1600","prodInsts":[{"statusCd":"100000","statusDate":"2022-09-21
        00:49:39","createStaff":312085052,"createDate":"2013-03-10 17:03:42","updateStaff":4,"updateDate":"2023-06-18
        17:07:49","lastOrderItemId":510452479934,"dataVerNum":0,"prodInstId":57345397769,"prodId":1,"accProdInstId":57345397769,"prodUseType":"1000","accNum":"18039332226","paymentModeCd":"1201","ownerCustId":3008208163,"prodInstPwd":"850920","regionId":8410101,"lanId":8410100,"beginRentDate":"2013-03-10
        17:03:42","stopRentDate":"2030-01-01 00:00:00","createOrgId":271003832,"firstFinishDate":"2013-03-10
        17:03:42","busiModDate":"2019-09-14
        14:54:08","useCustId":3008208163,"pointOwnerId":3008208163,"prodFuncType":"101","extProdInstId":"997600400015300429","grpProdNbr":"6600001000","ifRepeatOpen":false,"othProv":"0","prodName":"CDMA业务","custName":"乔威","statusName":"在用","roleId":353,"paymentModeName":"准实时预付费","roleName":"家庭卡","certNum":"412825198312048851","certType":"1","certTypeName":"居民身份证","acctId":713035951256,"acctCd":"713035951256","offerProdRelId":149920938,"isRealName":1,"isReal":"","accNumName":"18039332226"},{"statusCd":"100000","statusDate":"2022-09-21
        00:49:39","createStaff":100001465,"createDate":"2021-12-11 12:26:48","updateStaff":4,"updateDate":"2023-06-18
        17:07:49","lastOrderItemId":510452480362,"dataVerNum":0,"prodInstId":510068091339,"prodId":1,"accProdInstId":510068091339,"prodUseType":"1000","accNum":"19139923568","paymentModeCd":"1201","ownerCustId":3008208163,"prodInstPwd":"888888","regionId":8410100,"lanId":8410100,"actDate":"2021-12-11
        12:26:41","beginRentDate":"2021-12-11 12:27:00","stopRentDate":"2041-12-11
        12:27:00","createOrgId":715371011,"firstFinishDate":"2021-12-11
        12:27:00","useCustId":3008208163,"prodFuncType":"101","extProdInstId":"413211211000991259","grpProdNbr":"6600001000","ifRepeatOpen":false,"othProv":"0","prodName":"CDMA业务","custName":"乔威","statusName":"在用","roleId":353,"paymentModeName":"准实时预付费","roleName":"家庭卡","certNum":"412825198312048851","certType":"1","certTypeName":"居民身份证","acctId":713035951256,"acctCd":"713035951256","offerProdRelId":149920938,"isRealName":1,"isReal":"","accNumName":"19139923568"},{"statusCd":"100000","statusDate":"2022-09-21
        00:49:39","createStaff":713016369,"createDate":"2017-04-21 10:41:07","updateStaff":4,"updateDate":"2023-06-18
        17:07:49","lastOrderItemId":510452480360,"dataVerNum":0,"prodInstId":713069971778,"prodId":1,"accProdInstId":713069971778,"prodUseType":"1000","accNum":"17719856868","paymentModeCd":"1201","ownerCustId":3008208163,"prodInstPwd":"850920","regionId":8410100,"lanId":8410100,"beginRentDate":"2017-04-21
        10:41:15","stopRentDate":"2037-04-21 10:41:15","createOrgId":715369388,"firstFinishDate":"2017-04-21
        10:41:07","busiModDate":"2019-09-14
        23:59:37","useCustId":3008208163,"pointOwnerId":3008208163,"prodFuncType":"101","extProdInstId":"997600340345195673","grpProdNbr":"6600001000","ifRepeatOpen":false,"othProv":"0","prodName":"CDMA业务","custName":"乔威","statusName":"在用","roleId":351,"paymentModeName":"准实时预付费","roleName":"主卡成员","certNum":"412825198312048851","certType":"1","certTypeName":"居民身份证","acctId":713035951256,"acctCd":"713035951256","offerProdRelId":149920937,"isRealName":1,"isReal":"","accNbrQryFlag":"1","accNumName":"17719856868"},{"statusCd":"100000","statusDate":"2022-09-21
        00:49:39","createStaff":671013005,"createDate":"2019-07-11 15:49:58","updateStaff":4,"updateDate":"2022-11-21
        22:33:36","remark":"FF-QT-20210603-2721关于CRM用户地址与资源地址同步更新的需求#","lastOrderItemId":510472153791,"dataVerNum":0,"prodInstId":713102606156,"prodId":30,"accProdInstId":713102606156,"prodUseType":"1000","accNum":"637127479223","account":"637127479223","paymentModeCd":"1201","addressDesc":"河南省郑州市金水区南阳路街道郑纺机社区纺机前路2号纺机前路2号院134栋2单元1层102室","ownerCustId":3008208163,"prodInstPwd":"321321","exchId":83130,"addressId":"109106160","regionId":8410101,"lanId":8410100,"beginRentDate":"2019-07-11
        17:48:21","stopRentDate":"2039-07-11 17:48:21","createOrgId":715377066,"firstFinishDate":"2019-07-11
        15:49:58","busiModDate":"2019-07-11
        17:49:46","useCustId":0,"pointOwnerId":0,"prodFuncType":"101","grpProdNbr":"6600117000","ifRepeatOpen":false,"othProv":"0","prodName":"智能光宽带","custName":"乔威","statusName":"在用","roleId":359,"paymentModeName":"准实时预付费","roleName":"可选（加装）宽带成员","certNum":"412825198312048851","certType":"1","certTypeName":"居民身份证","acctId":713035951256,"acctCd":"713035951256","offerProdRelId":132525509,"isRealName":1,"accNumName":"637127479223"}],"preferentialAccts":[],"offerProdList":[{"statusCd":"1000","statusDate":"2023-06-18
        17:04:38","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:25","remark":"资产计算状态为：1000,","lastOrderItemId":510541415725,"dataVerNum":0,"offerProdInstRelId":510127974977,"offerInstId":510113809339,"prodInstId":713069971778,"relType":"1000","effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","roleId":351,"offerProdRelId":149920937,"prodFuncType":"101","prodId":1,"accProdInstId":713069971778,"prodUseType":"1000","regionId":8410101,"piRegionId":8410100,"ownerCustId":3008208163},{"statusCd":"1000","statusDate":"2023-06-18
        17:04:38","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:25","remark":"资产计算状态为：1000,","lastOrderItemId":510541413957,"dataVerNum":0,"offerProdInstRelId":510127974978,"offerInstId":510113809339,"prodInstId":510068091339,"relType":"1000","effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","roleId":353,"offerProdRelId":149920938,"prodFuncType":"101","prodId":1,"accProdInstId":510068091339,"prodUseType":"1000","regionId":8410101,"piRegionId":8410100,"ownerCustId":3008208163},{"statusCd":"1000","statusDate":"2023-06-18
        17:04:38","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:25","remark":"资产计算状态为：1000,","lastOrderItemId":510541413958,"dataVerNum":0,"offerProdInstRelId":510127974979,"offerInstId":510113809339,"prodInstId":57345397769,"relType":"1000","effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","roleId":353,"offerProdRelId":149920938,"prodFuncType":"101","prodId":1,"accProdInstId":57345397769,"prodUseType":"1000","regionId":8410101,"piRegionId":8410101,"ownerCustId":3008208163},{"statusCd":"1000","statusDate":"2023-06-18
        17:04:38","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:25","remark":"资产计算状态为：1000,","lastOrderItemId":510541413959,"dataVerNum":0,"offerProdInstRelId":510127974980,"offerInstId":510113809339,"prodInstId":713102606156,"relType":"1000","effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","roleId":359,"offerProdRelId":132525509,"prodFuncType":"101","prodId":30,"accProdInstId":713102606156,"prodUseType":"1000","regionId":8410101,"piRegionId":8410101,"ownerCustId":3008208163}],"accNbrQryFlag":"1","statusName":"有效"}],"compProdChgMbrServiceOfferId":4040701054,"compOfferMbrRoleId":90000,"sceneCode":{"rentPhoneBack":4040001134,"replaceCardBack":4040001150,"lastUnchainUndueRent":4040001164,"unchainUndueRent":4040001163,"recalculation":4040104015},"changeGearPriv":"N","rowCount":1,"jumpRetainProdIds":["6600117000","6600128000","6600139000"]}}</p>
    <div data-widget="edOrderMain"><p class="vita-data">
        {"data":{"hideProdIds":["15212"],"isShowProds":"N","offerChgMbrServiceOfferId":3020800000,"offerContinueServiceId":3020400001,"changeMemberPriv":"Y","jumpRetainIds":[],"exchangePkgSwitch":"N","edOrderList":[{"statusCd":"1000","statusDate":"2023-06-18
        17:07:26","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:49","remark":"资产计算状态为：1000,","lastOrderItemId":510541415725,"dataVerNum":0,"offerInstId":510113809339,"offerId":500015590,"offerType":"11","ownerCustId":3008208163,"effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","createOrgId":510236767,"expProcMethod":"20","lanId":8410100,"regionId":8410101,"extOfferInstId":"413230618106830251","isIndependent":"1","offerName":"5G畅享99元套餐202112","ownerCustName":"乔威","offerSysType":"1600","prodInsts":[{"statusCd":"100000","statusDate":"2022-09-21
        00:49:39","createStaff":312085052,"createDate":"2013-03-10 17:03:42","updateStaff":4,"updateDate":"2023-06-18
        17:07:49","lastOrderItemId":510452479934,"dataVerNum":0,"prodInstId":57345397769,"prodId":1,"accProdInstId":57345397769,"prodUseType":"1000","accNum":"18039332226","paymentModeCd":"1201","ownerCustId":3008208163,"prodInstPwd":"850920","regionId":8410101,"lanId":8410100,"beginRentDate":"2013-03-10
        17:03:42","stopRentDate":"2030-01-01 00:00:00","createOrgId":271003832,"firstFinishDate":"2013-03-10
        17:03:42","busiModDate":"2019-09-14
        14:54:08","useCustId":3008208163,"pointOwnerId":3008208163,"prodFuncType":"101","extProdInstId":"997600400015300429","grpProdNbr":"6600001000","ifRepeatOpen":false,"othProv":"0","prodName":"CDMA业务","custName":"乔威","statusName":"在用","roleId":353,"paymentModeName":"准实时预付费","roleName":"家庭卡","certNum":"412825198312048851","certType":"1","certTypeName":"居民身份证","acctId":713035951256,"acctCd":"713035951256","offerProdRelId":149920938,"isRealName":1,"isReal":"","accNumName":"18039332226"},{"statusCd":"100000","statusDate":"2022-09-21
        00:49:39","createStaff":100001465,"createDate":"2021-12-11 12:26:48","updateStaff":4,"updateDate":"2023-06-18
        17:07:49","lastOrderItemId":510452480362,"dataVerNum":0,"prodInstId":510068091339,"prodId":1,"accProdInstId":510068091339,"prodUseType":"1000","accNum":"19139923568","paymentModeCd":"1201","ownerCustId":3008208163,"prodInstPwd":"888888","regionId":8410100,"lanId":8410100,"actDate":"2021-12-11
        12:26:41","beginRentDate":"2021-12-11 12:27:00","stopRentDate":"2041-12-11
        12:27:00","createOrgId":715371011,"firstFinishDate":"2021-12-11
        12:27:00","useCustId":3008208163,"prodFuncType":"101","extProdInstId":"413211211000991259","grpProdNbr":"6600001000","ifRepeatOpen":false,"othProv":"0","prodName":"CDMA业务","custName":"乔威","statusName":"在用","roleId":353,"paymentModeName":"准实时预付费","roleName":"家庭卡","certNum":"412825198312048851","certType":"1","certTypeName":"居民身份证","acctId":713035951256,"acctCd":"713035951256","offerProdRelId":149920938,"isRealName":1,"isReal":"","accNumName":"19139923568"},{"statusCd":"100000","statusDate":"2022-09-21
        00:49:39","createStaff":713016369,"createDate":"2017-04-21 10:41:07","updateStaff":4,"updateDate":"2023-06-18
        17:07:49","lastOrderItemId":510452480360,"dataVerNum":0,"prodInstId":713069971778,"prodId":1,"accProdInstId":713069971778,"prodUseType":"1000","accNum":"17719856868","paymentModeCd":"1201","ownerCustId":3008208163,"prodInstPwd":"850920","regionId":8410100,"lanId":8410100,"beginRentDate":"2017-04-21
        10:41:15","stopRentDate":"2037-04-21 10:41:15","createOrgId":715369388,"firstFinishDate":"2017-04-21
        10:41:07","busiModDate":"2019-09-14
        23:59:37","useCustId":3008208163,"pointOwnerId":3008208163,"prodFuncType":"101","extProdInstId":"997600340345195673","grpProdNbr":"6600001000","ifRepeatOpen":false,"othProv":"0","prodName":"CDMA业务","custName":"乔威","statusName":"在用","roleId":351,"paymentModeName":"准实时预付费","roleName":"主卡成员","certNum":"412825198312048851","certType":"1","certTypeName":"居民身份证","acctId":713035951256,"acctCd":"713035951256","offerProdRelId":149920937,"isRealName":1,"isReal":"","accNbrQryFlag":"1","accNumName":"17719856868"},{"statusCd":"100000","statusDate":"2022-09-21
        00:49:39","createStaff":671013005,"createDate":"2019-07-11 15:49:58","updateStaff":4,"updateDate":"2022-11-21
        22:33:36","remark":"FF-QT-20210603-2721关于CRM用户地址与资源地址同步更新的需求#","lastOrderItemId":510472153791,"dataVerNum":0,"prodInstId":713102606156,"prodId":30,"accProdInstId":713102606156,"prodUseType":"1000","accNum":"637127479223","account":"637127479223","paymentModeCd":"1201","addressDesc":"河南省郑州市金水区南阳路街道郑纺机社区纺机前路2号纺机前路2号院134栋2单元1层102室","ownerCustId":3008208163,"prodInstPwd":"321321","exchId":83130,"addressId":"109106160","regionId":8410101,"lanId":8410100,"beginRentDate":"2019-07-11
        17:48:21","stopRentDate":"2039-07-11 17:48:21","createOrgId":715377066,"firstFinishDate":"2019-07-11
        15:49:58","busiModDate":"2019-07-11
        17:49:46","useCustId":0,"pointOwnerId":0,"prodFuncType":"101","grpProdNbr":"6600117000","ifRepeatOpen":false,"othProv":"0","prodName":"智能光宽带","custName":"乔威","statusName":"在用","roleId":359,"paymentModeName":"准实时预付费","roleName":"可选（加装）宽带成员","certNum":"412825198312048851","certType":"1","certTypeName":"居民身份证","acctId":713035951256,"acctCd":"713035951256","offerProdRelId":132525509,"isRealName":1,"accNumName":"637127479223"}],"preferentialAccts":[],"offerProdList":[{"statusCd":"1000","statusDate":"2023-06-18
        17:04:38","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:25","remark":"资产计算状态为：1000,","lastOrderItemId":510541415725,"dataVerNum":0,"offerProdInstRelId":510127974977,"offerInstId":510113809339,"prodInstId":713069971778,"relType":"1000","effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","roleId":351,"offerProdRelId":149920937,"prodFuncType":"101","prodId":1,"accProdInstId":713069971778,"prodUseType":"1000","regionId":8410101,"piRegionId":8410100,"ownerCustId":3008208163},{"statusCd":"1000","statusDate":"2023-06-18
        17:04:38","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:25","remark":"资产计算状态为：1000,","lastOrderItemId":510541413957,"dataVerNum":0,"offerProdInstRelId":510127974978,"offerInstId":510113809339,"prodInstId":510068091339,"relType":"1000","effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","roleId":353,"offerProdRelId":149920938,"prodFuncType":"101","prodId":1,"accProdInstId":510068091339,"prodUseType":"1000","regionId":8410101,"piRegionId":8410100,"ownerCustId":3008208163},{"statusCd":"1000","statusDate":"2023-06-18
        17:04:38","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:25","remark":"资产计算状态为：1000,","lastOrderItemId":510541413958,"dataVerNum":0,"offerProdInstRelId":510127974979,"offerInstId":510113809339,"prodInstId":57345397769,"relType":"1000","effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","roleId":353,"offerProdRelId":149920938,"prodFuncType":"101","prodId":1,"accProdInstId":57345397769,"prodUseType":"1000","regionId":8410101,"piRegionId":8410101,"ownerCustId":3008208163},{"statusCd":"1000","statusDate":"2023-06-18
        17:04:38","createStaff":520000182673,"createDate":"2023-06-18
        17:07:17","updateStaff":520000182673,"updateDate":"2023-06-18
        17:07:25","remark":"资产计算状态为：1000,","lastOrderItemId":510541413959,"dataVerNum":0,"offerProdInstRelId":510127974980,"offerInstId":510113809339,"prodInstId":713102606156,"relType":"1000","effDate":"2023-07-01
        00:00:00","expDate":"2043-07-01
        00:00:00","roleId":359,"offerProdRelId":132525509,"prodFuncType":"101","prodId":30,"accProdInstId":713102606156,"prodUseType":"1000","regionId":8410101,"piRegionId":8410101,"ownerCustId":3008208163}],"accNbrQryFlag":"1","statusName":"有效"}],"compProdChgMbrServiceOfferId":4040701054,"compOfferMbrRoleId":90000,"sceneCode":{"rentPhoneBack":4040001134,"replaceCardBack":4040001150,"lastUnchainUndueRent":4040001164,"unchainUndueRent":4040001163,"recalculation":4040104015},"changeGearPriv":"N","rowCount":1,"jumpRetainProdIds":["6600117000","6600128000","6600139000"]}}</p>
        <div id="edOrderMainTpl">
            <div class="col-xs-12 blockbox" id="edOrderList">
                <div class="ibox bpaddlrtb10">
                    <div class="form_title mt10" id="pageMainEdOrder" style="display:none">
                        <div><i class="bot"></i>已订购套餐</div>
                    </div>
                    <div id="edOrderListRefresh">
                        <div>
                            <div class="package-titlebox padl-border" id="chooseAll">
                                <div class="row" id="rowclick" name="selectRowDiv">
                                    <div class="col-md-5 package-lefttitle"><label class="wu-radio full absolute"
                                                                                   data-scope=""><input type="radio"
                                                                                                        name="payment"
                                                                                                        data-main="Y">
                                        <p class="vita-data">{ "offerId":"500015590", "offerInstId":"510113809339",
                                            "offerName":"5G畅享99元套餐202112", "regionId":"8410101",
                                            "ownerCustId":"3008208163", "type": "offer" }</p></label> <a id="offerName">5G畅享99元套餐202112
                                        <p class="vita-data">{ "offerId":"500015590", "offerInstId":"510113809339",
                                            "regionId":"8410101" }</p></a></div>
                                    <div class="col-md-3"><span class="textcolorgreen"> 有效 </span></div>
                                    <div class="col-md-3 text-right"><span
                                            class="textcolor9"> 2023.07.01  -  2043.07.01 </span></div>
                                    <div id="showItem" class="col-md-1 text-right"><i
                                            class="glyphicon fa-arrowr ivu-arrow ivu-up-arrow"></i></div>
                                    <p class="vita-data">{"offerInstId":"510113809339"}</p></div>
                            </div>
                            <div id="edOrderItem510113809339" class="package_cont greybg" style="display:block">
                                <div class="row package_list" name="selectRowDiv" data-toggle="tooltip"
                                     data-placement="top" title="" data-original-title="使用人客户:乔威">
                                    <div class="col-xs-12">
                                        <div class="col-xs-12">
                                            <div class="col-md-3"><label class="wu-radio full absolute"
                                                                         data-scope=""><input type="radio"
                                                                                              name="payment">
                                                <p class="vita-data">{ "prodId" : "1", "prodName" : "CDMA业务",
                                                    "prodInstId" : "57345397769", "offerId" : "500015590", "offerName" :
                                                    "5G畅享99元套餐202112", "offerInstId" : "510113809339", "regionId" :
                                                    "8410101", "offerProdRelId" : "149920938", "roleId" : "353",
                                                    "accNum" : "18039332226", "statusCd" : "100000",
                                                    "ownerCustId":"3008208163", "useCustId":"3008208163", "type": "prod"
                                                    }</p></label><span>家庭卡</span></div>
                                            <div class="col-md-3"><a id="prodName">18039332226<p class="vita-data">{
                                                "prodId" : "1", "prodName" : "CDMA业务", "prodInstId" : "57345397769",
                                                "offerId" : "500015590", "offerName" : "5G畅享99元套餐202112",
                                                "offerInstId" : "510113809339", "regionId" : "8410101", "accNum" :
                                                "18039332226", "statusCd" : "100000" }</p></a></div>
                                            <div class="col-md-1 text-right"><span class="textcolorgreen">在用  </span>
                                                <span class="textcolorred"></span></div>
                                            <div class="col-md-2 text-right"><span></span></div>
                                            <div class="col-md-2 text-right"><span> 2013-03-10 17:03:42 </span></div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row package_list" name="selectRowDiv" data-toggle="tooltip"
                                     data-placement="top" title="" data-original-title="使用人客户:乔威">
                                    <div class="col-xs-12">
                                        <div class="col-xs-12">
                                            <div class="col-md-3"><label class="wu-radio full absolute"
                                                                         data-scope=""><input type="radio"
                                                                                              name="payment">
                                                <p class="vita-data">{ "prodId" : "1", "prodName" : "CDMA业务",
                                                    "prodInstId" : "510068091339", "offerId" : "500015590", "offerName"
                                                    : "5G畅享99元套餐202112", "offerInstId" : "510113809339", "regionId"
                                                    : "8410100", "offerProdRelId" : "149920938", "roleId" : "353",
                                                    "accNum" : "19139923568", "statusCd" : "100000",
                                                    "ownerCustId":"3008208163", "useCustId":"3008208163", "type": "prod"
                                                    }</p></label><span>家庭卡</span></div>
                                            <div class="col-md-3"><a id="prodName">19139923568<p class="vita-data">{
                                                "prodId" : "1", "prodName" : "CDMA业务", "prodInstId" : "510068091339",
                                                "offerId" : "500015590", "offerName" : "5G畅享99元套餐202112",
                                                "offerInstId" : "510113809339", "regionId" : "8410100", "accNum" :
                                                "19139923568", "statusCd" : "100000" }</p></a></div>
                                            <div class="col-md-1 text-right"><span class="textcolorgreen">在用  </span>
                                                <span class="textcolorred"></span></div>
                                            <div class="col-md-2 text-right"><span></span></div>
                                            <div class="col-md-2 text-right"><span> 2021-12-11 12:27:00 </span></div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row package_list bglight_green" name="selectRowDiv" data-toggle="tooltip"
                                     data-placement="top" title="" data-original-title="使用人客户:乔威">
                                    <div class="col-xs-12">
                                        <div class="col-xs-12">
                                            <div class="col-md-3"><label class="wu-radio full absolute"
                                                                         data-scope=""><input type="radio"
                                                                                              name="payment">
                                                <p class="vita-data">{ "prodId" : "1", "prodName" : "CDMA业务",
                                                    "prodInstId" : "713069971778", "offerId" : "500015590", "offerName"
                                                    : "5G畅享99元套餐202112", "offerInstId" : "510113809339", "regionId"
                                                    : "8410100", "offerProdRelId" : "149920937", "roleId" : "351",
                                                    "accNum" : "17719856868", "statusCd" : "100000",
                                                    "ownerCustId":"3008208163", "useCustId":"3008208163", "type": "prod"
                                                    }</p></label><span>主卡成员</span></div>
                                            <div class="col-md-3"><a id="prodName">17719856868<p class="vita-data">{
                                                "prodId" : "1", "prodName" : "CDMA业务", "prodInstId" : "713069971778",
                                                "offerId" : "500015590", "offerName" : "5G畅享99元套餐202112",
                                                "offerInstId" : "510113809339", "regionId" : "8410100", "accNum" :
                                                "17719856868", "statusCd" : "100000" }</p></a></div>
                                            <div class="col-md-1 text-right"><span class="textcolorgreen">在用  </span>
                                                <span class="textcolorred"></span></div>
                                            <div class="col-md-2 text-right"><span></span></div>
                                            <div class="col-md-2 text-right"><span> 2017-04-21 10:41:15 </span></div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row package_list" name="selectRowDiv" data-toggle="tooltip"
                                     data-placement="top" title="" data-original-title="使用人客户:乔威">
                                    <div class="col-xs-12">
                                        <div class="col-xs-12">
                                            <div class="col-md-3"><label class="wu-radio full absolute"
                                                                         data-scope=""><input type="radio"
                                                                                              name="payment">
                                                <p class="vita-data">{ "prodId" : "30", "prodName" : "智能光宽带",
                                                    "prodInstId" : "713102606156", "offerId" : "500015590", "offerName"
                                                    : "5G畅享99元套餐202112", "offerInstId" : "510113809339", "regionId"
                                                    : "8410101", "offerProdRelId" : "132525509", "roleId" : "359",
                                                    "accNum" : "637127479223", "statusCd" : "100000",
                                                    "ownerCustId":"3008208163", "useCustId":"0", "type": "prod" }</p>
                                            </label><span>可选（加装）宽带成员</span></div>
                                            <div class="col-md-3"><a id="prodName">637127479223<p class="vita-data">{
                                                "prodId" : "30", "prodName" : "智能光宽带", "prodInstId" :
                                                "713102606156", "offerId" : "500015590", "offerName" :
                                                "5G畅享99元套餐202112", "offerInstId" : "510113809339", "regionId" :
                                                "8410101", "accNum" : "637127479223", "statusCd" : "100000" }</p></a>
                                            </div>
                                            <div class="col-md-1 text-right"><span class="textcolorgreen">在用  </span>
                                            </div>
                                            <div class="col-md-2 text-right"><span></span></div>
                                            <div class="col-md-2 text-right"><span> 2019-07-11 17:48:21 </span></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="showDivIdOne" style="display:none">
                        <div class="col-md-12">
                            <div name="selectTabDiv" class="col-md-12 inline-blockfont0">
                                <div class="col-xs-12">
                                    <div class="row padb10"></div>
                                    <a name="qryDtl" data-cust-view-code="qryDtl"
                                       class="btn btn-gray btn-outline btn-sm qryDtl"><i
                                            class="glyphicon fa-details text18"></i> 销售品详情 </a><a name="memberChg"
                                                                                                       data-cust-view-code="memberChg"
                                                                                                       class="btn btn-gray btn-outline btn-sm"><i
                                        class="glyphicon fa-userchange text18"></i> 成员变更 </a><a name="offerShiftBtn"
                                                                                                    data-cust-view-code="offerShiftBtn"
                                                                                                    class="btn btn-gray btn-outline btn-sm"><i
                                        class="glyphicon icon-shiftgears text18"></i> 换挡 </a><a name="offerShiftBtn"
                                                                                                  data-type="upgradeOffer"
                                                                                                  data-cust-view-code="offerShiftBtn"
                                                                                                  class="btn btn-gray btn-gradualc"
                                                                                                  style="display:none"><i
                                        class="glyphicon icon-rise5g text18"></i> 升5G套餐 </a><a name="ordAtt"
                                                                                                  data-type="upgradeAttach"
                                                                                                  data-cust-view-code="ordAtt"
                                                                                                  class="btn btn-gray btn-gradualc"
                                                                                                  style="display:none"><i
                                        class="glyphicon icon-5gtrafficpacket text18"></i> 订购5G流量包 </a> <a
                                        name="accountMerge" class="btn btn-gray btn-outline btn-gradualc"><i
                                        class="glyphicon icon-shiftgears text18"></i> 账户融合 </a></div>
                            </div>
                        </div>
                    </div>
                    <div id="showDivIdTwo" style="display:none">
                        <div class="col-md-12">
                            <div name="selectTabDiv" class="col-md-12 inline-blockfont0">
                                <div class="col-xs-12">
                                    <div class="row padb10"></div>
                                    <a name="qryDtl" data-cust-view-code="qryDtl"
                                       class="btn btn-gray btn-outline btn-sm qryDtl"><i
                                            class="glyphicon fa-details text18"></i> 产品详情 </a><a name="ordChg"
                                                                                                     data-cust-view-code="ordChg"
                                                                                                     class="btn btn-gray btn-outline btn-sm"><i
                                        class="glyphicon fa-revise text18"></i> 业务变更 </a><a name="ordAtt"
                                                                                                data-cust-view-code="ordAtt"
                                                                                                class="btn btn-gray btn-outline btn-sm"><i
                                        class="glyphicon fa-fssoop text18"></i> 订购附属 </a><a name="ordAtt"
                                                                                                data-type="upgradeAttach"
                                                                                                data-cust-view-code="ordAtt"
                                                                                                class="btn btn-gray btn-gradualc"
                                                                                                style="display:none"><i
                                        class="glyphicon icon-5gtrafficpacket text18"></i> 订购5G流量包</a></div>
                            </div>
                        </div>
                    </div>
                </div>
                <p class="vita-data">{"rowCount":1}</p></div>
            <p class="vita-data">{"totalNumber":1}</p>
            <div id="showPageInfo"></div>
        </div>
    </div>
    <script>!function (e) {
        var r = SoComp.extend({
            events: {
                "click [name='qryDtl']": "_qryDtl",
                "click [name='ordChg']": "_ordChg",
                "click [name='ordAtt']": function (e) {
                    var r = this, d = r.require("soConst").getMda("UPGRADE_ATTACH_MODE");
                    d && d > 0 && "upgradeAttach" == $(e.currentTarget).attr("data-type") ? r._newAtt(e) : r._ordAtt(e)
                },
                "click [name='accountMerge']": "_accountMerge",
                "click [name='relaProdQuery']": "_relaProdQuery",
                "click [name='memberChg']": "_memberChg",
                "click #edOrderProdDtl": "_edOrderProdDtl",
                "click #edOrderOfferDtl": "_edOrderOfferDtl",
                "keydown #condValue": "_keydownSearchOrderedProd",
                "click #searchBtn": "_clickSearchOrderedProd",
                "mouseover .yuansearchv1": "_showSearch",
                "mouseout .yuansearchv1": "_searchBlur",
                "blur #condValue": "_searchBlur",
                "mousedown #offerName": "_edOrderOfferDtlForName",
                "mousedown #prodName": "_edOrderProdDtlForName",
                "click [name='offerShiftBtn']": function (e) {
                    var r = this, d = $.extend(!0, {}, e),
                        a = this.require("soConst").getMda("UPGRADE_OFFER_TO_PROD_ON");
                    if ("1" == a && "upgradeOffer" == $(e.currentTarget).attr("data-type")) this._newShift(d); else if ("Y" != this.getMDA("SECOND_BUSI_INST_UNLOCK")) this._doShift(d); else {
                        var t = function () {
                            r._doShift(d)
                        }, o = this.require("soUtil");
                        o.checkInstLock(r._getNowInstId(), t, r)
                    }
                },
                "click [name='offerPkgShiftBtn']": function (e) {
                    this._doPkgShift(e)
                },
                "click #continuedPackage": function () {
                    this._doContinuedPackage()
                },
                "click #rowclick": "_rowclick",
                "click [name='payment']": "_tabDivChange",
                "click [name='refreshEdOrderMain']": function () {
                    this._clickSearchOrderedProd(!0)
                },
                "change [name='onlyAccountDiscount']": "_changeOnlyAccountDiscount"
            },
            _qryDtl: function () {
                var e = this, r = $(e.el), d = r.find("#edOrderList :radio"), a = r.find("#edOrderList :radio:checked"),
                    t = e.require("soUtil"), o = t.getBrowserVersions();
                a.data("type");
                return "acct" == a.data("type") ? void e.popup("账户类型产品不能进行此操作...") : void d.each(function (r, d) {
                    var a = $(d), t = a.data("offerInstId"), n = a.data("prodInstIdEncrypt") || a.data("prodInstId"),
                        i = a.data("regionIdEncrypt") || a.data("regionId");
                    if (a.is(":checked")) {
                        if (o.mobile) {
                            var f = {};
                            if (t && n) {
                                f = {prodInstId: n, installArea: i};
                                var s = {
                                    url: "../so/edOrderProdDtl",
                                    id: "edOrderProdDtlDialog",
                                    params: f,
                                    onClose: function (e) {
                                    }
                                };
                                return e.dialog(s), !1
                            }
                            f = {offerInstId: t, installArea: i};
                            var s = {
                                url: "../so/edOrderOfferDtl",
                                id: "edOrderOfferDtlDialog",
                                params: f,
                                onClose: function (e) {
                                }
                            };
                            return e.dialog(s), !1
                        }
                        t && n ? e._edOrderProdDtl(n, i) : e._edOrderOfferDtl(t, i)
                    }
                })
            },
            _ordChg: function () {
                var e = this, r = $(e.el), d = r.find("#edOrderList :radio"), a = r.find("#edOrderList :radio:checked"),
                    t = e.require("soConst"), o = (a.data("type"), "Y" == r.data("priCust"));
                return "acct" == a.data("type") ? void e.popup("账户类型产品不能进行此操作...") : void d.each(function (r, d) {
                    var a = $(d), n = a.data("offerInstId"), i = a.data("prodInstId"), f = a.data("regionId");
                    if (a.is(":checked")) {
                        var s = a.data();
                        if (n && i) {
                            var c = {
                                id: a.data("prodId"),
                                instId: a.data("prodInstId"),
                                prodName: a.data("prodName"),
                                type: "prod",
                                statusCd: a.data("statusCd"),
                                accNum: a.data("accNum"),
                                offerId: s.offerId,
                                offerName: s.offerName,
                                offerInstId: s.offerInstId,
                                offerProdRelId: s.offerProdRelId,
                                roleId: s.roleId,
                                authCustId: s.ownerCustId,
                                installArea: f
                            }, I = a.data("primaryCustId");
                            o && 11 == a.data("offerType") && I && I != a.data("ownerCustId") && (c.primaryCustId = I), e.gSession.custInfo.custType == t.get("CUST_TYPE_GOVERNMENT") && s.useCustId ? c.ownerCustId = s.useCustId : c.ownerCustId = s.ownerCustId, e._chooseServiceOffer(c, f)
                        } else {
                            var c = {
                                id: a.data("offerId"),
                                instId: a.data("offerInstId"),
                                type: "offer",
                                statusCd: "100000",
                                accNum: a.data("accNum"),
                                offerId: s.offerId,
                                offerName: s.offerName,
                                offerInstId: s.offerInstId,
                                offerProdRelId: s.offerProdRelId,
                                roleId: s.roleId,
                                authCustId: s.ownerCustId,
                                installArea: f
                            };
                            e.gSession.custInfo.custType == t.get("CUST_TYPE_GOVERNMENT") && s.useCustId ? c.ownerCustId = s.useCustId : c.ownerCustId = s.ownerCustId, e._chooseServiceOffer(c, f)
                        }
                    }
                })
            },
            _ordAtt: function (e) {
                var r = this, d = $(r.el), a = d.find("#edOrderList :radio"), t = "Y" == d.data("offerAttach"),
                    o = function () {
                        a.each(function (d, a) {
                            var o = $(a), n = o.data("offerInstId"), i = o.data("prodInstId"), f = o.data("regionId");
                            if (o.is(":checked")) {
                                if (r._isFusionOffer(o.data("offerId"))) return r.popup("产品所在的套餐是松融合，请通过销售品[成员变更]受理..."), !1;
                                n && i ? r._doAttached(o, f, e) : t && n ? r._doOfferAttached(o, f) : r.popup("请选择订单项进行订购附属操作")
                            }
                        })
                    };
                if ("Y" == r.getMDA("ORDER_ATTACH_AUTH_SWITCH")) {
                    var n = r.getMDA("ORDER_ATTACH_SERVICE_OFFER_ID");
                    r._toAuth(o, n)
                } else o()
            },
            _toAuth: function (e, r) {
                var d = this, a = {
                    widgetSource: d.widgetName,
                    serviceOfferId: r,
                    authCustId: $(d.el).find("#edOrderList :radio:checked").data("ownerCustId")
                };
                a.callBack = e, d.require("soUtil").toOrderAuth(a, d)
            },
            _relaProdQuery: function () {
                var e = this, r = $(e.el), d = r.find("#edOrderList :radio:checked");
                if (!d.length) return void e.popup("请选择一个产品");
                var a = d.data("type"), t = "";
                if ("acct" == a) {
                    d.data("data");
                    t = d.data("data").acctCd
                } else t = null;
                var o = d.data("offerInstId"), n = d.data("prodInstId"), i = d.data("regionId");
                if (o && n || null != t & "acct" == a) {
                    var f = {prodInstId: n, custTokenId: e.gSession.custTokenId, regionId: i, acctCd: t};
                    e.end("orderedProd", f)
                } else e.popup("请选择套餐下的一个产品")
            },
            _memberChg: function (e) {
                var r = this, d = $(r.el), a = d.find("#edOrderList :radio:checked"), t = "请选择套餐进行成员变更操作";
                if (!a.length) return void r.popup(t);
                if ("acct" == a.data("type")) return void r.popup("账户类型产品不能进行此操作");
                var o = a.data("offerInstId"), n = a.data("offerId"), i = a.data("prodInstId"), f = a.data("regionId"),
                    s = r.gSession;
                if (o && i) return void r.popup(t);
                if (r._judgeIsCompOffer(n) && "0" == r.getMDA("COMP_PROD_MODE_ON")) return void r.popup("组合产品套餐请通过产品[业务变更]受理[成员变更]");
                var c = {instId: o, serviceOfferId: 30208e5, flowCode: "offerChange"}, I = r.checkCart(c);
                if (-1 == I) return r.popup("购物车已存在【" + a.data("offerName") + "-销售品成员变更】"), !1;
                if (-2 == I) return r.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                if (!I) return !1;
                var l = $(e.currentTarget), u = l.attr("data-at"), p = function () {
                    var e = {
                        param: {
                            flowParam: {flowCode: "offerChange"},
                            prePareCompReqVo: {
                                instId: o,
                                offerInstId: o,
                                installArea: f,
                                serviceOfferId: "3020800000",
                                specId: n,
                                specType: "OFFER",
                                objName: a.data("offerName")
                            },
                            redisInfo: {custTokenId: s.custTokenId, glbSessionId: s.glbSessionId}
                        }
                    };
                    if (g_prodArea = {regionId: f}, u) {
                        var d = {
                            scene: "offerChange",
                            offerPackageId: u,
                            installArea: f,
                            offerId: n,
                            offerName: a.data("offerName"),
                            offerInstId: o
                        };
                        r._toBusi(d)
                    } else r.end("filling", e);
                    r.dispatchEvent("index.indent", "hideCustView")
                };
                r._toAuth(p, 30208e5)
            },
            _judgeIsCompOffer: function (e) {
                var r = this, d = r.gSession, a = !1;
                return this.callService("judgeIsCompOffer", {offerId: +e, regionId: d.installArea}, function (e) {
                    e && "Y" == e.isComp && (a = !0)
                }, {mask: !0, async: !1}), a
            },
            _edOrderProdDtl: function (e, r) {
                var d = this, a = {prodInstId: e, installArea: r};
                d.end("edOrderProdDtl", a)
            },
            _edOrderOfferDtl: function (e, r) {
                var d = {offerInstId: e, installArea: r};
                this.end("edOrderOfferDtl", d)
            },
            _edOrderOfferDtlForName: function (e) {
                var r = this, d = $(e.target).closest("#offerName"), a = d.data("offerInstId"), t = d.data("regionId"),
                    o = {offerInstId: a, installArea: t};
                r.end("edOrderOfferDtl", o)
            },
            _edOrderProdDtlForName: function (e) {
                var r = this, d = r.gSession, a = $(e.target).closest("#prodName"),
                    t = a.data("prodInstIdEncrypt") || a.data("prodInstId"),
                    o = a.data("regionIdEncrypt") || a.data("regionId"),
                    n = {prodInstId: t, installArea: o, isRight: d.isRight};
                r.end("edOrderProdDtl", n)
            },
            _initialize: function () {
                var e = this, r = $(e.el), d = e.gSession, a = 1, t = e.global.pageSize;
                "Y" != e.getMDA("SWITCH_MAP").edOrderMainRefreshButton && r.find("[name='refreshEdOrderMain']").remove(), e._filterOrderOperPriv(r[0]);
                var o = d.custInfo;
                if (o) {
                    "acctCd" == o.queryTypeFromCustcenter ? e.global.acctCdNum = o.queryValue : e.global.acctCdNum = null;
                    var n = o.fixedAccNum;
                    e._checkValue(n) && (e.global.fixedAccNum = n);
                    var i = o.fixedAccNumFlag;
                    e._checkValue(i) && (e.global.fixedAccNumFlag = i)
                }
                e.model.set(e.$el.data("data")), e.model.set("sceneCode", e.$el.data("data").sceneCode);
                var f = parseInt(r.find("#edOrderList").eq(0).data("totalNumber")) || 0, s = this.require("paging"),
                    c = s["new"]({
                        recordNumber: t, total: f, pageIndex: a, callback: function (r, a) {
                            var t = {
                                pageInfo: {pageIndex: r, pageSize: a},
                                custTokenId: d.custTokenId,
                                gSessionId: d.glbSessionId,
                                fixedAccNum: e.global.fixedAccNum,
                                acctCd: e.global.acctCdNum
                            }, o = null;
                            if ("1" == e.global.fixedAccNumFlag && e._checkValue(e.global.fixedAccNum)) o = e.global.fixedAccNum, t.isAssign = "Y", t.busiRegionId = d.custInfo.regionId; else {
                                var n = e.model.get("accNum");
                                e._checkValue(n) && (o = n)
                            }
                            t.accNum = o, t.installArea = d.installArea, e.refreshPart("updateEdOrder", t, "#edOrderListRefresh", "", function (e) {
                                e && $(e).find("[data-toggle=tooltip]").tooltip()
                            }, {mask: !1, headers: {regionId: e.gSession.installArea}})
                        }
                    });
                r.find("#showPageInfo").append(c.getElement()), r.find("[data-toggle=tooltip]").tooltip()
            },
            global: {
                pageSize: 8,
                compsUrl: {
                    edOrderProdDtl: "../so/edOrderProdDtl",
                    edOrderOfferDtl: "../so/edOrderOfferDtl",
                    orderedProdUrl: "../so/orderedProd",
                    fixedAccNum: "",
                    fixedAccNumFlag: ""
                }
            },
            _getConds: function (e) {
                var r = this, d = r.gSession, a = $(r.el), t = null;
                if ("1" == r.global.fixedAccNumFlag && r._checkValue(r.global.fixedAccNum)) t = r.global.fixedAccNum; else {
                    var o = r.model.get("accNum");
                    r._checkValue(o) && (t = o)
                }
                var n = {
                    pageInfo: {pageIndex: e, pageSize: r.global.pageSize},
                    custTokenId: d.custTokenId,
                    gSessionId: d.glbSessionId,
                    accNum: t,
                    installArea: d.installArea,
                    fixedAccNum: r.global.fixedAccNum
                }, i = a.find("[name='onlyAccountDiscount']");
                if (i.is(":checked")) {
                    n.accountDiscount = "001", n.custId = d.custInfo.custId;
                    var f = $.trim(a.find("#condValue").val());
                    f && (n.acctCd = f, delete n.accNum)
                }
                return n
            },
            _changeOnlyAccountDiscount: function (e) {
                var r = this, d = $(e.currentTarget);
                r.global.isOnlyAccountDiscount = d.is(":checked"), r._clickSearchOrderedProd(!0)
            },
            _afterRefreshDeal: function (e) {
                var r = this;
                $(e).find("[name='onlyAccountDiscount']").prop("checked", r.global.isOnlyAccountDiscount)
            },
            _updateEdOrder: function (e) {
                var r = this, d = ($(r.el), 1), a = r.global.pageSize, t = r._getConds(d);
                r.refreshPart("updateEdOrder", t, "#edOrderMainTpl", "", function (o) {
                    r._filterOrderOperPriv(o), $(o).find("[data-toggle=tooltip]").tooltip();
                    var n = r.model.toJSON(), i = n.parent;
                    "pageMain" == i && ($(o).find("#pageMainEdOrder").show(), $(o).find("#edOrderList").removeClass("blockbox"));
                    var f = $(o).find(".ibox").eq(0).data("rowCount"), s = this.require("paging"), c = s["new"]({
                        recordNumber: a, total: f, pageIndex: d, callback: function (d, a) {
                            t = r._getConds(d), t.pageInfo.rowCount = f, r.refreshPart("updateEdOrder", t, "#edOrderListRefresh", "", function (e) {
                                e && $(e).find("[data-toggle=tooltip]").tooltip()
                            }, {mask: !!e, headers: {regionId: r.gSession.installArea}})
                        }
                    });
                    $(o).find("#showPageInfo").append(c.getElement()), r._afterRefreshDeal(o)
                }, {mask: !!e, headers: {regionId: r.gSession.installArea}})
            },
            _chooseServiceOffer: function (e, r) {
                var d = this, a = (d.gSession, $(d.el)), t = a.data("data");
                if (e) {
                    var o = e.id, n = e.instId, i = e.type, f = [e], s = "chooseServiceOffer";
                    d.dialog({
                        url: "../so/chooseServiceOffer",
                        params: {queryParam: JSON.stringify(f), prodId: o, instId: n, authCustId: e.authCustId},
                        onClose: function (a) {
                            d.dispatchEvent("index.indent", "hideCustView");
                            var f = $(a).closest("[data-widget=" + s + "]"), c = f[s]("getValue"), I = c.serviceOffer;
                            if (I) {
                                var l = e.ownerCustId, u = e.accNum, p = "change";
                                "offer" == e.type && (u = e.offerName);
                                var g = "1" == d.getMDA("COMP_PROD_MODE_ON") ? !0 : !1;
                                if ("prod" == e.type && g && I.serviceOfferId == t.compProdChgMbrServiceOfferId && e.roleId != t.compOfferMbrRoleId) return d.popup("请通过销售品[成员变更]受理..."), !1;
                                var h = d.require("soConst").get("SERVICE_CHANGE_BREAK");
                                if (h == I.serviceOfferId && d._isFusionOffer(e.offerId)) return d.popup("产品所在的套餐是松融合，不允许产品拆机..."), !1;
                                var m = {
                                    offerId: e.offerId,
                                    offerInstId: e.offerInstId,
                                    prodId: o,
                                    prodInstId: n,
                                    serviceOfferId: I.serviceOfferId
                                };
                                d.callService("qryIsPromptDisass", m, function (a) {
                                    a && a.resultObject && a.resultObject.isShow ? this.popup(a.resultObject.disStr, function () {
                                        d._showRetainDialog(I, l, u, p, e, o, n, t, i, r, d._doChgOrd)
                                    }, function () {
                                    }) : d._showRetainDialog(I, l, u, p, e, o, n, t, i, r, d._doChgOrd)
                                }, {async: !1, headers: {regionId: r}})
                            }
                        },
                        headers: {regionId: r}
                    })
                }
            },
            _showRetainDialog: function (e, r, d, a, t, o, n, i, f, s, c) {
                var I = this, l = I.gSession, u = $.inArray(e.serviceOfferId.toString(), i.jumpRetainIds),
                    p = $.inArray(o.toString(), i.jumpRetainProdIds);
                if (u >= 0 && p >= 0) {
                    var g = [];
                    g.push(n);
                    var h = {prodInstIds: JSON.stringify(g), regionId: l.installArea, serviceOfferId: e.serviceOfferId},
                        m = "retain", v = {
                            url: "../so/retain", params: h, onClose: function (l) {
                                var u = $(l).closest("[data-widget=" + m + "]");
                                if (u.length) {
                                    var p = u[m]("getValue");
                                    0 == p && $.isFunction(c) && c.call(I, e, r, d, a, t, o, n, i, f, s)
                                }
                            }, headers: {regionId: I.gSession.installArea}
                        };
                    v.id = "retainDialog", I.dialog(v)
                } else I._doChgOrd(e, r, d, a, t, o, n, i, f, s)
            },
            _doChgOrd: function (e, r, d, a, t, o, n, i, f, s) {
                var c = this, I = c.gSession;
                if (e) {
                    var l = e.serviceOfferId;
                    30301e5 == l && (d = t.offerName, a = "unsubscribe");
                    var u = {instId: n, serviceOfferId: e.serviceOfferId, flowCode: a}, p = c.checkCart(u);
                    if (-1 == p) return c.popup("购物车已存在【" + d + "-" + e.serviceOfferName + "】"), !1;
                    if (-2 == p) return c.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                    if (!p) return !1;
                    var l = e.serviceOfferId, g = e.serviceOfferName,
                        h = {custTokenId: c.gSession.custTokenId, serviceOfferId: l, instId: n};
                    c.callService("isExistSameBusiItem", JSON.stringify(h), function (d) {
                        if (!d) return c.popup("请检查是否有在途订单或互斥业务"), !1;
                        if (30301e5 == l) {
                            var a = {
                                param: {
                                    flowParam: {curNodeCode: "", flowCode: "unsubscribe"},
                                    prePareCompReqVo: {
                                        serviceOfferId: l,
                                        instId: n,
                                        specId: o,
                                        offerId: t.offerId,
                                        offerName: t.offerName,
                                        offerInstId: t.offerInstId,
                                        specType: f.toUpperCase(),
                                        installArea: s,
                                        accNum: t.accNum,
                                        prodOwnerCustId: r,
                                        objName: t.offerName
                                    },
                                    redisInfo: {custTokenId: I.custTokenId, glbSessionId: I.glbSessionId}
                                }
                            };
                            return g_prodArea = {regionId: s}, c.end("change", a), !1
                        }
                        if (l == i.offerContinueServiceId) {
                            var u = {
                                channelId: I.curChannelId,
                                staffId: I.staffId,
                                regionId: t.installArea,
                                offerName: t.offerName,
                                offerId: t.offerId,
                                offerInstId: t.offerInstId,
                                serviceOfferId: l
                            };
                            return c.end("chooseOfferContinue", u), !1
                        }
                        var p = c.model.get("sceneCode"), h = c.require("objectUtil"), m = h.values(p);
                        if ($.inArray(l, m) > -1) {
                            var v;
                            for (var O in p) if (p[O] == l) {
                                v = O;
                                break
                            }
                            var u = {
                                param: {
                                    flowParam: {curNodeCode: "", flowCode: "sceneOrder"},
                                    prePareCompReqVos: [{
                                        channelId: I.curChannelId,
                                        staffId: I.staffId,
                                        regionId: t.installArea,
                                        serviceOfferId: l,
                                        prodName: t.prodName,
                                        prodId: t.id,
                                        prodInstId: t.instId,
                                        accNum: t.accNum,
                                        serviceOfferName: g,
                                        specId: o,
                                        specType: f.toUpperCase(),
                                        installArea: s,
                                        offerInstId: t.offerInstId,
                                        sceneCode: v
                                    }],
                                    redisInfo: {custTokenId: I.custTokenId, glbSessionId: I.glbSessionId}
                                }
                            };
                            return c.end("change", u), !1
                        }
                        if (3030101001 == l) {
                            var C = this._getOffers(n), a = {
                                param: {
                                    flowParam: {curNodeCode: "", flowCode: "rescindContract"},
                                    prePareCompReqVos: [{
                                        serviceOfferId: l,
                                        instId: n,
                                        specId: o,
                                        offerId: t.offerId,
                                        offerIds: C,
                                        offerName: t.offerName,
                                        offerInstId: t.offerInstId,
                                        specType: f.toUpperCase(),
                                        specVer: "1.0",
                                        installArea: s,
                                        accNum: t.accNum,
                                        prodOwnerCustId: r,
                                        roleId: t.roleId,
                                        offerProdRelId: t.offerProdRelId ? t.offerProdRelId : c._getOfferProdRelId(C, t.offerId),
                                        objName: t.offerName
                                    }],
                                    redisInfo: {custTokenId: I.custTokenId, glbSessionId: I.glbSessionId}
                                }
                            };
                            return c.end("rescindContract", a), !1
                        }
                        var C = this._getOffers(n), a = {
                            param: {
                                flowParam: {curNodeCode: "", flowCode: "change"},
                                prePareCompReqVos: [{
                                    serviceOfferId: l,
                                    instId: n,
                                    specId: o,
                                    newSpecId: e.tagProdId,
                                    offerId: t.offerId,
                                    offerIds: C,
                                    offerName: t.offerName,
                                    offerInstId: t.offerInstId,
                                    specType: f.toUpperCase(),
                                    specVer: "1.0",
                                    installArea: s,
                                    accNum: t.accNum,
                                    primaryCustId: t.primaryCustId,
                                    prodOwnerCustId: r,
                                    roleId: t.roleId,
                                    offerProdRelId: t.offerProdRelId ? t.offerProdRelId : c._getOfferProdRelId(C, t.offerId),
                                    objName: t.offerName
                                }],
                                redisInfo: {custTokenId: I.custTokenId, glbSessionId: I.glbSessionId}
                            }
                        };
                        if (g_prodArea = {regionId: s}, t.roleId == i.compOfferMbrRoleId && (a.param.prePareCompReqVos[0].compProdInstId = n, l == i.compProdChgMbrServiceOfferId)) {
                            var _ = {};
                            _.serviceOfferId = i.offerChgMbrServiceOfferId, _.specType = "OFFER", _.specVer = "1.0", _.offerId = t.offerId, _.offerName = t.offerName, _.offerInstId = t.offerInstId, _.installArea = t.installArea, _.specId = t.offerId, _.instId = t.offerInstId, a.param.prePareCompReqVos.push(_), a.param.prePareCompReqVos.reverse()
                        }
                        c.end("change", a)
                    })
                }
            },
            _getOffers: function (e) {
                var r = this, d = [], a = r._qryOfferProdRelInstList(e);
                return _.isArray(a) && 0 != a.length ? ($.each(a, function (e, r) {
                    d.push({
                        offerId: r.offerId,
                        offerName: r.offerName,
                        offerInstId: r.offerInstId,
                        offerType: r.offerType,
                        prodId: r.prodId,
                        roleId: r.roleId,
                        offerObjRelId: r.offerProdRelId
                    })
                }), d) : !1
            },
            _getOfferProdRelId: function (e, r) {
                var d = null;
                return e && $.isArray(e) && e.length && $.each(e, function (e, a) {
                    return a.offerId == r && a.offerObjRelId ? (d = a.offerObjRelId, !1) : void 0
                }), d
            },
            _qryOfferProdRelInstList: function (e) {
                var r, d = this, a = {prodInstId: e};
                return d.callService("qryMainOfferInfoListByProdInstId", JSON.stringify(a), function (e) {
                    var d = JSON.parse(e);
                    r = d.offerProdRelInsts
                }, {async: !1, headers: {regionId: d.gSession.installArea}}), r
            },
            _doAttached: function (e, r, d) {
                var a = e.data(), t = e.data("accNum"), o = {accNum: t, flowCode: "attachOrder", instId: a.prodInstId},
                    n = this.checkCart(o);
                if (-1 == n) return this.popup("购物车已存在【" + t + "-单独订购附属】"), !1;
                if (-2 == n) return this.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                if (!n) return !1;
                var i = a.prodInstId, f = a.offerId, s = this._getOffers(i);
                s === !1 && (s = [{offerId: "", prodId: e.data("prodId")}]);
                var c = {
                    param: {
                        flowParam: {flowCode: "attachOrder"},
                        prePareCompReqVo: {
                            installArea: r,
                            offerId: f,
                            offerIds: s,
                            offerName: e.data("offerName"),
                            offerInstId: e.data("offerInstId"),
                            prodId: e.data("prodId"),
                            prodName: e.data("prodName"),
                            accNum: t,
                            prodInstId: i,
                            instId: i,
                            offerProdRelId: this._getOfferProdRelId(s, f),
                            roleId: a.roleId
                        },
                        redisInfo: {custTokenId: this.gSession.custTokenId, glbSessionId: this.gSession.glbSessionId}
                    }
                };
                this.dispatchEvent("index.indent", "hideCustView"), g_prodArea = {regionId: r}, "upgradeAttach" == $(d.currentTarget).attr("data-type") ? (c.authCustId = e.data("ownerCustId"), this.dispatchEvent("upgradeDo", "busi5g"), this.dispatchEvent("busi5g.indent", "upgradeAttach", c)) : this.end("change", c)
            },
            _doOfferAttached: function (e, r) {
                var d = e.data("offerInstId"), a = {flowCode: "offerAttachOrder", instId: d}, t = this.checkCart(a);
                if (-1 == t) return this.popup("购物车已存在【单独订购优惠】..."), !1;
                if (-2 == t) return this.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                if (!t) return !1;
                var o = {
                    param: {
                        flowParam: {flowCode: "offerAttachOrder"},
                        prePareCompReqVo: {
                            installArea: r,
                            offerId: e.data("offerId"),
                            offerName: e.data("offerName"),
                            offerInstId: d,
                            instId: e.data("offerInstId"),
                            objName: e.data("offerName")
                        },
                        redisInfo: {custTokenId: this.gSession.custTokenId, glbSessionId: this.gSession.glbSessionId}
                    }
                };
                this.dispatchEvent("index.indent", "hideCustView"), g_prodArea = {regionId: r}, this.end("change", o)
            },
            _newAtt: function (e) {
                var r = this, d = $(r.el).find(".package_cont").find(":input:radio[name=payment]:checked");
                if (!d.length) return r.popup("请选择套餐下的一个产品..."), !1;
                if ("acct" == d.data("type")) return r.popup("账户类型产品不能进行此操作..."), !1;
                var a = d.closest(".package_cont").prev().find(":radio").data(), t = a.offerId;
                if (r._judgeIsCompOffer(t)) return r.popup("选中产品不能进行此操作..."), !1;
                if (r._isFusionOffer(t)) return r.popup("产品所在的套餐是松融合，请通过销售品[成员变更]受理..."), !1;
                var o, n, i = r.require("soConst").getMda("UPGRADE_ATTACH_MODE"), f = a.offerInstId;
                "1" == i ? (n = 30101e5, o = {
                    instId: f,
                    flowCode: "newSceneOffer",
                    serviceOfferId: n
                }) : "2" == i && (n = 30208e5, o = {instId: f, serviceOfferId: n, flowCode: "offerChange"});
                var s = r.checkCart(o);
                if (-2 == s || -1 == s) return r.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                if (!s) return !1;
                var c = function () {
                    var e = {offerInst: a, prodInst: d.data(), authCustId: d.data("ownerCustId")};
                    r.dispatchEvent("upgradeDo", "busi5g"), r.dispatchEvent("busi5g.indent", "upgradeAttach", e)
                };
                r._toAuth(c, n)
            },
            _checkValue: function (e) {
                var r = this, d = r.require("soUtil"), a = d.isNullOrEmpty(e);
                return a ? !1 : !0
            },
            _keydownSearchOrderedProd: function (e) {
                var r = this;
                return 13 == e.keyCode ? (r._clickSearchOrderedProd(), !1) : void 0
            },
            _clickSearchOrderedProd: function (e) {
                var r = this, d = $(r.el), a = $.trim(d.find("#condValue").val());
                r.model.set({accNum: a}), r._updateEdOrder(e)
            },
            _searchBlur: function () {
                var e = this, r = $(e.el), d = $.trim(r.find("#condValue").val());
                e._checkValue(d) ? e._showSearch() : e._hideSearch()
            },
            _showSearch: function () {
                var e = this, r = $(e.el);
                r.find("#searchFrame").addClass("radius-btn-search-in")
            },
            _hideSearch: function () {
                var e = this;
                $(e.el)
            },
            _doShift: function (e) {
                var r = this, d = $(r.el).find(".package-titlebox").find(":input:radio[name=payment]:checked");
                if (!d.length) return r.popup("请选择套餐..."), !1;
                "acctCd" == d.data("type") && r.popup("账户类型产品不能进行此操作...");
                var a = {instId: d.data("offerInstId"), flowCode: "exchangeOffer"}, t = r.checkCart(a);
                if (-2 == t) return r.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                if (!t) return !1;
                if (r._canDoBusinessForLocal()) {
                    var o, n = d.closest(".package-titlebox").next(".package_cont:eq(0)").find(".package_list"),
                        i = d.data(), f = r.gSession, s = f.installArea;
                    n.length && n.each(function (e, r) {
                        var d = $(r).find(":input:radio");
                        return o = d.data("prodInstId"), s = d.data("regionId"), o ? !1 : void 0
                    });
                    var c = $(e.currentTarget), I = c.attr("data-type"), l = c.attr("data-at"), u = function () {
                        var e = {
                            glbSessionId: f.glbSessionId,
                            sysUserId: f.systemUserId,
                            applyRegionId: s,
                            installAreaName: f.installAreaName,
                            prodInstId: o,
                            flowMode: I,
                            authCustId: d.data("ownerCustId"),
                            offer: JSON.stringify({offer: i})
                        };
                        if ("upgradeOffer" == I) r.dispatchEvent("upgradeDo", "busi5g"), r.dispatchEvent("busi5g.indent", "upgradeOffer", e); else if ("salePkgChg" == I) {
                            var a = $.extend(!0, {}, i);
                            a.prodInsts = [], $.each(n, function (e, r) {
                                var d = $.extend(!0, {}, $(r).find(":input:radio").data());
                                a.prodInsts.push(d)
                            }), r._toSalePkgChg(a)
                        } else if (l) {
                            var a = {
                                scene: "exchangeOffer",
                                offerPackageId: l,
                                installArea: s,
                                offerId: i.offerId,
                                offerName: i.offerName,
                                offerInstId: i.offerInstId
                            };
                            r._toBusi(a)
                        } else r.end("offerPage", e)
                    };
                    r._toAuth(u, 302e7)
                }
            },
            _canDoBusinessForLocal: function () {
                return !0
            },
            _newShift: function (e) {
                var r = this, d = $(r.el).find(".package_cont").find(":input:radio[name=payment]:checked");
                if (!d.length) return r.popup("请选择套餐下的一个产品..."), !1;
                "acctCd" == d.data("type") && r.popup("账户类型产品不能进行此操作...");
                var a = d.closest(".package_cont").prev().find(":radio").data(),
                    t = {instId: a.offerInstId, flowCode: "exchangeOffer"}, o = r.checkCart(t);
                if (-2 == o) return r.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                if (!o) return !1;
                if (r._canDoBusinessForLocal()) {
                    var n = d.data(), i = r.gSession, f = n.prodInstId, s = n.regionId || i.installArea,
                        c = function () {
                            var e = {
                                glbSessionId: i.glbSessionId,
                                sysUserId: i.systemUserId,
                                applyRegionId: s,
                                installAreaName: i.installAreaName,
                                prodInstId: f,
                                accNum: n.accNum,
                                authCustId: d.data("ownerCustId"),
                                offer: JSON.stringify({offer: a})
                            };
                            r.dispatchEvent("upgradeDo", "busi5g"), r.dispatchEvent("busi5g.indent", "upgradeOffer", e)
                        };
                    r._toAuth(c, 302e7)
                }
            },
            _doPkgShift: function (e) {
                var r = this, d = $(r.el).find(".package-titlebox").find(":input:radio[name=payment]:checked"),
                    a = $(e.currentTarget), t = a.attr("data-type");
                if (!d.length) return r.popup("请选择套餐..."), !1;
                "acctCd" == d.data("type") && r.popup("账户类型产品不能进行此操作...");
                var o = {flowCode: "exchangeOfferPkg"}, n = r.checkCart(o);
                if (-2 == n) return r.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                if (!n) return !1;
                var i, f = d.closest(".package-titlebox").next(".package_cont:eq(0)").find(".package_list"),
                    s = d.data(), c = r.gSession, I = c.installArea;
                f.each(function (e, r) {
                    var d = $(r).find(":input:radio");
                    i = d.data("prodInstId"), I = d.data("regionId")
                });
                var l = {
                    glbSessionId: c.glbSessionId,
                    sysUserId: c.systemUserId,
                    applyRegionId: I,
                    installAreaName: c.installAreaName,
                    prodInstId: i,
                    sceneType: t,
                    offer: JSON.stringify({offer: s})
                };
                r.end("pkgOfferList", l)
            },
            _doOfferShift: function () {
                var e = this, r = $(e.el).find(".package-titlebox").find("input:radio[name=payment]:checked");
                if (!r.length) return e.popup("请选择套餐..."), !1;
                var d = r.closest(".package-titlebox").next(".package_cont:eq(0)").find(".package_list"), a = "",
                    t = e.gSession, o = t.installArea;
                1 == d.length && d.each(function (e, r) {
                    a = $(r).find("input:radio").data("prodInstId"), o = $(r).find("input:radio").data("regionId")
                });
                var n = r.data(), i = n.offerInstId;
                e.dialog({
                    url: "../so/chooseOfferShift",
                    id: "offerShift_" + i,
                    params: {offerId: n.offerId, prodInstId: a, installArea: o, channelId: t.curChannelId},
                    onClose: function (r) {
                        var d = $(r).closest("[data-widget=chooseOfferShift]"), a = d.chooseOfferShift("getValue"),
                            f = e.require("objectUtil");
                        if (!f.isEmpty(a)) {
                            if ("newOffer" == a.action) {
                                var s = {
                                    param: {
                                        flowParam: {curNodeCode: "", flowCode: "newOffer"},
                                        prePareCompReqVo: {
                                            specId: a.offerId,
                                            serviceOfferId: "3010100000",
                                            specType: "OFFER",
                                            installArea: o,
                                            specVer: a.version ? a.version : "1",
                                            objName: a.offerName
                                        },
                                        redisInfo: {custTokenId: t.custTokenId, glbSessionId: t.glbSessionId}
                                    }
                                };
                                e.end("filling", s)
                            } else {
                                var s = {
                                    param: {
                                        flowParam: {curNodeCode: "", flowCode: "exchangeOffer"},
                                        prePareCompReqVo: {
                                            specId: a.offerId,
                                            offerInstId: i,
                                            serviceOfferId: "3010100000",
                                            specType: "OFFER",
                                            installArea: o,
                                            offerId: n.offerId,
                                            offerName: n.offerName,
                                            objName: a.offerName
                                        },
                                        redisInfo: {custTokenId: t.custTokenId, glbSessionId: t.glbSessionId}
                                    }
                                };
                                a.prodInstId && (s.param.prePareCompReqVo.prodInstId = a.prodInstId), e.end("change", s)
                            }
                            e.dispatchEvent("index.indent", "hideCustView")
                        }
                    },
                    headers: {regionId: o}
                })
            },
            _doContinuedPackage: function () {
                var e = this, r = $(e.el).find(".package-titlebox").find(":input:radio[name=payment]:checked");
                if (!r.length) return e.popup("请选择套餐..."), !1;
                var d = r.data(), a = d.regionId, t = d.offerInstId, o = "3020400001",
                    n = {instId: t, serviceOfferId: o, flowCode: "continuedPackageOrder"}, i = e.checkCart(n);
                if (-1 == i) return e.popup("购物车已存在【" + d.offerName + "-续包】"), !1;
                if (-2 == i) return e.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                if (!i) return !1;
                var f = {
                    param: {
                        flowParam: {flowCode: "continuedPackageOrder"},
                        prePareCompReqVos: [{
                            installArea: a,
                            offerId: d.offerId,
                            offerName: d.offerName,
                            offerInstId: t,
                            serviceOfferId: o,
                            specId: d.offerId,
                            specType: "OFFER",
                            objName: d.offerName
                        }],
                        redisInfo: {custTokenId: e.gSession.custTokenId, glbSessionId: e.gSession.glbSessionId}
                    }
                };
                e.dispatchEvent("index.indent", "hideCustView"), e.end("change", f)
            },
            _rowclick: function (e) {
                var r = this, d = $(r.el), a = $(e.target).closest("#rowclick").find("#showItem"),
                    t = d.find("#edOrderItem" + a.data("offerInstId"));
                t.toggle();
                var o = a.find("i");
                o.hasClass("ivu-up-arrow") ? o.removeClass("ivu-up-arrow").addClass("ivu-down-arrow") : o.removeClass("ivu-down-arrow").addClass("ivu-up-arrow")
            },
            _tabDivChange: function (e) {
                var r = this, d = $(r.el), a = d.data("data"), t = d.find("#edOrderList :radio");
                t.each(function (e, d) {
                    var a = $(d), t = a.closest("div[name=selectRowDiv]"), o = t.find("div[name=selectTabDiv]");
                    if (o.remove(), a.is(":checked")) {
                        var n = r.$("#showDivId").html();
                        t.append($(n))
                    }
                });
                var o = d.find(":radio:checked"), n = o.length ? o.data("type") : null;
                if (d.find("[data-type=upgradeOffer]").hide(), d.find("[data-type=upgradeAttach]").hide(), r.getMDA("SHIFT_PACKAGE_ON")) {
                    var i = d.find("[data-type=compOfferChangePkg]");
                    i.hide(), "offer" == n && i.show()
                }
                if (0 != r.getMDA("SHIFT_OFFER_PARALLEL_MODE") || a && "Y" == a.matchUse) {
                    var f = d.find("[data-type=parallel]");
                    f.hide(), "offer" == n && f.show()
                }
                var s = r.require("soConst"), c = s.getMda("BUSI_5G_ON");
                if ("1" == c && n) {
                    var I = d.find("[data-type=upgradeOffer]"), l = s.getMda("UPGRADE_OFFER_TO_PROD_ON");
                    "prod" == n && r.getMDA("PHONE_ID") == o.data("prodId") ? (I.hide(), "1" == l && I.show(), d.find("[data-type=upgradeAttach]").show()) : "offer" == n && (I.show(), "1" == l && I.hide(), d.find("[data-type=upgradeAttach]").hide())
                }
                if ("Y" == a.salePkgChg) {
                    var u = d.find("[data-type=salePkgChg]");
                    u.hide(), "offer" == n && u.show()
                }
                if ("Y" == a.BUSI_SPECIAL_ON) {
                    var p = d.find("#edOrderListRefresh"), g = p.prev().find("[data-at]");
                    if (!g.length) return;
                    if (d.find("[data-at]").hide(), d.find(".springshop").hide(), "offer" != n) return;
                    var h = o.data("offerId"), m = this.gSession,
                        v = {channelId: m.curChannelId, regionId: m.installArea || m.staffRegionId};
                    $.each(g, function (e, d) {
                        var e = $(d), a = e.attr("name"), t = e.attr("data-at");
                        v.offerPackageId = t, "memberChg" == a && (v.objId = h), r.callService("qryBusi", v, function (r) {
                            r && r.pOfferPackageId && (p.find("a[name=" + a + "][data-at=" + t + "]").show().closest(".springshop").show(), e.show().closest(".springshop").show())
                        })
                    })
                }
            },
            _filterOrderOperPriv: function (e) {
                var r = this, d = ($(r.el), r.gSession), a = d.orderOperPriv;
                "Y" !== a && $(e).find("[name='ordChg'],[name='ordAtt'],[name='memberChg'],[name='offerShiftBtn'],[name='relaProdQuery']").remove()
            },
            _isFusionOffer: function (e) {
                var r = !1;
                if (this.getMDA("FUSION_OFFER_ON")) {
                    var d = {offerId: e};
                    this.callService("isFusionOffer", d, function (e) {
                        r = e === !0 || "true" === e
                    }, {async: !1})
                }
                return r
            },
            _getNowInstId: function () {
                var e = this,
                    r = ($(e.el), $(e.el).find(".package-titlebox").find(":input:radio[name=payment]:checked"));
                return r.data("offerInstId")
            },
            _accountMerge: function () {
                var e = this, r = this.gSession, d = {
                    param: {
                        flowParam: {flowCode: "mergePay"},
                        prePareCompReqVo: {regionId: r.staffRegionId},
                        redisInfo: {custTokenId: r.custTokenId, glbSessionId: r.glbSessionId}
                    }
                };
                this.dispatchEvent("index.indent", "hideCustView"), e.end("mergePay", d)
            },
            _toBusi: function (e) {
                var r = this.gSession, d = {
                    offerPackageId: e.offerPackageId,
                    channelId: r.curChannelId,
                    regionId: r.installArea || r.staffRegionId
                };
                "offerChange" == e.scene && (d.objId = e.offerId);
                var a = $(this.el).find("#edOrderItem" + e.offerInstId).find(":radio:eq(0)").data("acctCd");
                a && (e.acctCd = a), this.callService("qryBusi", d, function (r) {
                    r && r.pOfferPackageId ? ($.extend(e, r), this.dispatchEvent("upgradeDo", "busi", e)) : this.popup("您选择的套餐不支持专区受理...")
                })
            },
            _toSalePkgChg: function (e) {
                this.dispatchEvent("upgradeDo", "salePkgChg", e)
            }
        });
        e.widget.register("edOrderMain", r, !0)
    }(window.vita);</script>
    <script>!function (e) {
        var a = e.widget.self("getWidget", "edOrderMain"), d = a.extend({
            events: function () {
                return $.extend({"click input[type='radio'][name='payment']": "_edOrderItemClick"}, this["super"].events)
            }, _initialize: function () {
                var e = this, a = $(e.el), d = e.gSession, r = 1, t = e.global.pageSize;
                "Y" != e.getMDA("SWITCH_MAP").edOrderMainRefreshButton && a.find("[name='refreshEdOrderMain']").remove(), e._filterOrderOperPriv(a[0]);
                var i = d.custInfo;
                if (i) {
                    "acctCd" == i.queryTypeFromCustcenter ? e.global.acctCdNum = i.queryValue : e.global.acctCdNum = null;
                    var o = i.fixedAccNum;
                    e._checkValue(o) && (e.global.fixedAccNum = o);
                    var n = i.fixedAccNumFlag;
                    e._checkValue(n) && (e.global.fixedAccNumFlag = n)
                }
                e.model.set(e.$el.data("data")), e.model.set("sceneCode", e.$el.data("data").sceneCode);
                var f = parseInt(a.find("#edOrderList").eq(0).data("totalNumber")) || 0, c = this.require("paging"),
                    s = c["new"]({
                        recordNumber: t, total: f, pageIndex: r, callback: function (a, r) {
                            var t = {
                                pageInfo: {pageIndex: a, pageSize: r},
                                custTokenId: d.custTokenId,
                                gSessionId: d.glbSessionId,
                                fixedAccNum: e.global.fixedAccNum,
                                acctCd: e.global.acctCdNum
                            }, i = null;
                            if ("1" == e.global.fixedAccNumFlag && e._checkValue(e.global.fixedAccNum)) i = e.global.fixedAccNum, t.isAssign = "Y", t.busiRegionId = d.custInfo.regionId; else {
                                var o = e.model.get("accNum");
                                e._checkValue(o) && (i = o)
                            }
                            t.accNum = i, t.session = d, e.refreshPart("updateEdOrder", t, "#edOrderListRefresh", "", function (e) {
                                e && $(e).find("[data-toggle=tooltip]").tooltip()
                            }, {mask: !1, headers: {regionId: e.gSession.installArea}})
                        }
                    });
                a.find("#showPageInfo").append(s.getElement()), a.find("[data-toggle=tooltip]").tooltip()
            }, _getConds: function (e) {
                var a = this, d = a.gSession, r = ($(a.el), null);
                if ("1" == a.global.fixedAccNumFlag && a._checkValue(a.global.fixedAccNum)) r = a.global.fixedAccNum; else {
                    var t = a.model.get("accNum");
                    a._checkValue(t) && (r = t)
                }
                var i = {
                    pageInfo: {pageIndex: e, pageSize: a.global.pageSize},
                    custTokenId: d.custTokenId,
                    gSessionId: d.glbSessionId,
                    accNum: r,
                    fixedAccNum: a.global.fixedAccNum,
                    session: a.gSession
                };
                return i
            }, _tabDivChange: function (e) {
                var a = this, d = $(a.el), r = d.find("#edOrderList :radio");
                r.each(function (e, d) {
                    var r = $(d), t = r.closest("div[name=selectRowDiv]"), i = t.find("div[name=selectTabDiv]");
                    i.remove();
                    var o = r.attr("data-main");
                    if (r.is(":checked")) if ("Y" == o) {
                        var n = a.$("#showDivIdOne").html();
                        t.append($(n))
                    } else {
                        var n = a.$("#showDivIdTwo").html();
                        t.append($(n))
                    }
                }), d.find("[data-type=upgradeOffer]").hide(), d.find("[data-type=upgradeAttach]").hide();
                var t = a.require("soConst"), i = t.getMda("BUSI_5G_ON");
                if ("1" == i) {
                    var o = d.find(":radio:checked");
                    if (o.length) {
                        var n = o.data("type");
                        "prod" == n && a.getMDA("PHONE_ID") == o.data("prodId") ? (d.find("[data-type=upgradeOffer]").hide(), d.find("[data-type=upgradeAttach]").show()) : "offer" == n && (d.find("[data-type=upgradeOffer]").show(), d.find("[data-type=upgradeAttach]").hide())
                    }
                }
            }, _memberChg: function () {
                var e = this, a = $(e.el), d = a.find("#edOrderList :radio:checked"),
                    r = e.$el.data("data").changeMemberPriv;
                if ("Y" != r) return void e.popup("无成员变更操作权限");
                var t = "请选择套餐进行成员变更操作";
                if (!d.length) return void e.popup(t);
                if ("acct" == d.data("type")) return void e.popup("账户类型产品不能进行此操作");
                var i = d.data("offerInstId"), o = d.data("offerId"), n = d.data("prodInstId"), f = d.data("regionId"),
                    c = e.gSession;
                if (i && n) return void e.popup(t);
                if (e._judgeIsCompOffer(o)) return void e.popup("组合产品套餐请通过产品[业务变更]受理[成员变更]");
                var s = {instId: i, serviceOfferId: 30208e5, flowCode: "offerChange"}, l = e.checkCart(s);
                if (-1 == l) return e.popup("购物车已存在【" + d.data("offerName") + "-销售品成员变更】"), !1;
                if (-2 == l) return e.popup("当前业务与购物车已有业务不能同时办理..."), !1;
                if (!l) return !1;
                var u = function () {
                    var a = {
                        param: {
                            flowParam: {flowCode: "offerChange"},
                            prePareCompReqVo: {
                                instId: i,
                                installArea: f,
                                serviceOfferId: "3020800000",
                                specId: o,
                                specType: "OFFER",
                                objName: d.data("offerName")
                            },
                            redisInfo: {custTokenId: c.custTokenId, glbSessionId: c.glbSessionId}
                        }
                    };
                    g_prodArea = {regionId: f}, e.end("filling", a), e.dispatchEvent("index.indent", "hideCustView")
                };
                e._toAuth(u, 30208e5)
            }, _doShift: function (e) {
                var a = this, d = $(a.el).find(".package-titlebox").find(":input:radio[name=payment]:checked"),
                    r = d.data(), t = a.$el.data("data").changeGearPriv;
                return "Y" != t ? void a.popup("无换挡操作权限") : ("Y" == a.getMDA("SWITCH_GET_CUST_BILL") && "offer" == d.data("type") && a.callService("getCustBillFromBilling", JSON.stringify(r), function (e) {
                    if ("0" == e.code) {
                        var a = e.msg, d = e.arpuVal,
                            r = "用户近三个月实际出账为:\n---------------------------------\n";
                        a.length > 0 && $.each(a, function (e, a) {
                            r = r + a + "\n"
                        }), r = r + "---------------------------------\n近三个月ARPU值:" + d.toFixed(2) + "元", alert(r)
                    }
                }, {async: !1, mask: !0}), void this["super"]._doShift.call(a, e))
            }, _edOrderItemClick: function (e) {
                var a = $(e.currentTarget), d = a.data("offerInstId"), r = a.data("prodInstId"), t = a.data("regionId"),
                    i = a.data("accNum"), o = this;
                o.dispatchEvent("refreshphoneInfo", {offerInstId: d, prodInstId: r, installArea: t, accNum: i})
            }, _chooseServiceOffer: function (e, a) {
                var d = this, r = (d.gSession, $(d.el)), t = r.data("data");
                if (e) {
                    var i = e.id, o = e.instId, n = e.type, f = [e], c = "chooseServiceOffer";
                    d.dialog({
                        url: "../so/chooseServiceOffer",
                        params: {queryParam: JSON.stringify(f), prodId: i, instId: o},
                        onClose: function (r) {
                            d.dispatchEvent("index.indent", "hideCustView");
                            var f = $(r).closest("[data-widget=" + c + "]"), s = f[c]("getValue"), l = s.serviceOffer;
                            if (l) {
                                var u = e.ownerCustId, p = e.accNum, g = "change";
                                "offer" == e.type && (p = e.offerName);
                                var I = "1" == d.getMDA("COMP_PROD_MODE_ON") ? !0 : !1;
                                if ("prod" == e.type && I && l.serviceOfferId == t.compProdChgMbrServiceOfferId && e.roleId != t.compOfferMbrRoleId) return d.popup("请通过销售品[成员变更]受理..."), !1;
                                var v = d.require("soConst").get("SERVICE_CHANGE_BREAK");
                                if (v == l.serviceOfferId && d._isFusionOffer(e.offerId)) return d.popup("产品所在的套餐是松融合，不允许产品拆机..."), !1;
                                var h = function () {
                                    var r = {
                                        offerId: e.offerId,
                                        offerInstId: e.offerInstId,
                                        prodId: i,
                                        prodInstId: o,
                                        serviceOfferId: l.serviceOfferId
                                    };
                                    d.callService("qryIsPromptDisass", r, function (r) {
                                        r && r.resultObject && r.resultObject.isShow ? this.popup(r.resultObject.disStr, function () {
                                            d._showRetainDialog(l, u, p, g, e, i, o, t, n, a, d._doChgOrd)
                                        }, function () {
                                        }) : d._showRetainDialog(l, u, p, g, e, i, o, t, n, a, d._doChgOrd)
                                    }, {async: !1, headers: {regionId: a}})
                                }, m = !1, O = null;
                                if (v == l.serviceOfferId && i == d.getMDA("ADSL_ID")) {
                                    var N = {prodInstId: o};
                                    d.callService("qryIsNeedPopup", N, function (e) {
                                        e && (m = e.isNeedPopup, e.isNeedPopup && (O = e.popupInfo))
                                    }, {async: !1, headers: {regionId: a}})
                                }
                                m && O ? d.popup(O, function () {
                                    h()
                                }, function () {
                                    h()
                                }) : h()
                            }
                        },
                        headers: {regionId: a}
                    })
                }
            }
        });
        e.widget.register("edOrderMain", d, !0)
    }(window.vita);</script>
    <style>.springshop .btn-default {
        background: #e15352;
        color: #fff;
        border-color: #e15352;
    }

    .springshop .dropdown-menu li a:hover, .spring .dropdown-menu li.hoverac > a {
        background: #ffe5cc;
        color: #e15352;
        cursor: pointer;
    }

    .springshop .dropdown-menu {
        border: 1px #ffbe7e solid;
    }</style>
    <script>(function (vita) {
        try {
            if (typeof _clt !== 'undefined') {
                _clt.default.addPoint({
                    category: 'vitaPlus', point: [{
                        widget: "edOrderMain",
                        widgetName: "已订购套餐",
                        selectors: {
                            click: [{
                                selector: "[name='ordChg']",
                                selectorName: "业务变更",
                                action: "chooseService",
                                data: function () {
                                    var e = $(this.el).find("#edOrderList :radio:checked"), t = e.data(), r = {};
                                    return r.csNbr = this.gSession.custTokenId, "acct" == t.type ? (r["套餐"] = e.closest(".package_cont").prev().find("#offerName").text(), r["角色"] = t.data.roleName, r["账户合同号"] = t.data.acctCd) : t.prodId ? (r["套餐"] = t.offerName, r["角色"] = $(this.el).find("#edOrderList :radio:checked").parent().next().text().trim(), r["产品"] = t.prodName, r["接入号"] = t.accNum) : r["套餐"] = t.offerName, r
                                }
                            }, {
                                selector: "[name='ordAtt']",
                                selectorName: "订购附属",
                                virtualOrderId: "add",
                                action: "toOrder",
                                data: function () {
                                    var e = $(this.el).find("#edOrderList :radio:checked"), t = e.data(), r = {};
                                    return r.csNbr = this.gSession.custTokenId, "acct" == t.type ? (r["套餐"] = e.closest(".package_cont").prev().find("#offerName").text(), r["角色"] = t.data.roleName, r["账户合同号"] = t.data.acctCd) : t.prodId ? (r["套餐"] = t.offerName, r["角色"] = $(this.el).find("#edOrderList :radio:checked").parent().next().text().trim(), r["产品"] = t.prodName, r["接入号"] = t.accNum) : r["套餐"] = t.offerName, r
                                }
                            }, {
                                selector: "[name='memberChg']",
                                selectorName: "成员变更",
                                virtualOrderId: "add",
                                action: "toOrder",
                                type: "so",
                                data: function () {
                                    var e = $(this.el).find("#edOrderList :radio:checked"), t = e.data(), r = {};
                                    return r.csNbr = this.gSession.custTokenId, "acct" == t.type ? (r["套餐"] = e.closest(".package_cont").prev().find("#offerName").text(), r["角色"] = t.data.roleName, r["账户合同号"] = t.data.acctCd) : t.prodId ? (r["套餐"] = t.offerName, r["角色"] = $(this.el).find("#edOrderList :radio:checked").parent().next().text().trim(), r["产品"] = t.prodName, r["接入号"] = t.accNum) : r["套餐"] = t.offerName, r
                                }
                            }, {
                                selector: "[name='offerShiftBtn']",
                                selectorName: "换挡",
                                virtualOrderId: "add",
                                action: "toOrder",
                                type: "so",
                                data: function () {
                                    var e = $(this.el).find("#edOrderList :radio:checked"), t = e.data(), r = {};
                                    return r.csNbr = this.gSession.custTokenId, "acct" == t.type ? (r["套餐"] = e.closest(".package_cont").prev().find("#offerName").text(), r["角色"] = t.data.roleName, r["账户合同号"] = t.data.acctCd) : t.prodId ? (r["套餐"] = t.offerName, r["角色"] = $(this.el).find("#edOrderList :radio:checked").parent().next().text().trim(), r["产品"] = t.prodName, r["接入号"] = t.accNum) : r["套餐"] = t.offerName, r
                                }
                            }, {
                                selector: ".qryDtl",
                                selectorName: "详情",
                                action: "toDetail",
                                type: "sensitiveInfo",
                                data: function () {
                                    var e = $(this.el).find("#edOrderList :radio:checked"), t = this.gSession,
                                        r = e.data(), a = {};
                                    return r.offerInstId ? (a.qryObj = r.offerInstId, a.qryObjType = "OFFER", a.qryPoint = "1001", a.custId = t.custInfo.custId, a.verifyFlag = t.verifyFlag) : r.prodInstId && (a.qryObj = r.prodInstId, a.qryObjType = "PROD", a.qryPoint = "1001", a.custId = t.custInfo.custId, a.verifyFlag = t.verifyFlag), a
                                }
                            }]
                        },
                        methods: {
                            _doChgOrd: {
                                selectorName: "购物车初始化",
                                action: "prepareOrder",
                                behavior: "start",
                                type: "so",
                                data: function (e) {
                                    return {
                                        csNbr: this.gSession.custTokenId,
                                        serviceOfferName: e.serviceOfferName,
                                        serviceOfferId: e.serviceOfferId
                                    }
                                }
                            },
                            _doAttached: {
                                selectorName: "购物车初始化",
                                action: "prepareOrder",
                                behavior: "start",
                                type: "so",
                                data: function () {
                                    return {csNbr: this.gSession.custTokenId, serviceOfferName: "订购附属"}
                                }
                            },
                            _judgeIsCompOffer: {
                                selectorName: "购物车初始化",
                                action: "prepareOrder",
                                behavior: "start",
                                type: "so",
                                data: function () {
                                    return {csNbr: this.gSession.custTokenId}
                                }
                            },
                            _doShift: {
                                selectorName: "购物车初始化",
                                action: "prepareOrder",
                                behavior: "start",
                                type: "so",
                                data: function () {
                                    return {csNbr: this.gSession.custTokenId, serviceOfferName: "套餐换挡"}
                                }
                            }
                        }
                    }]
                });
            }
            var c = vita.widget.require("collectorController");
            if (c) {
                c["import"]({
                    widget: "edOrderMain",
                    widgetName: "已订购套餐",
                    selectors: {
                        click: [{
                            selector: "[name='ordChg']",
                            selectorName: "业务变更",
                            action: "chooseService",
                            data: function () {
                                var e = $(this.el).find("#edOrderList :radio:checked"), t = e.data(), r = {};
                                return r.csNbr = this.gSession.custTokenId, "acct" == t.type ? (r["套餐"] = e.closest(".package_cont").prev().find("#offerName").text(), r["角色"] = t.data.roleName, r["账户合同号"] = t.data.acctCd) : t.prodId ? (r["套餐"] = t.offerName, r["角色"] = $(this.el).find("#edOrderList :radio:checked").parent().next().text().trim(), r["产品"] = t.prodName, r["接入号"] = t.accNum) : r["套餐"] = t.offerName, r
                            }
                        }, {
                            selector: "[name='ordAtt']",
                            selectorName: "订购附属",
                            virtualOrderId: "add",
                            action: "toOrder",
                            data: function () {
                                var e = $(this.el).find("#edOrderList :radio:checked"), t = e.data(), r = {};
                                return r.csNbr = this.gSession.custTokenId, "acct" == t.type ? (r["套餐"] = e.closest(".package_cont").prev().find("#offerName").text(), r["角色"] = t.data.roleName, r["账户合同号"] = t.data.acctCd) : t.prodId ? (r["套餐"] = t.offerName, r["角色"] = $(this.el).find("#edOrderList :radio:checked").parent().next().text().trim(), r["产品"] = t.prodName, r["接入号"] = t.accNum) : r["套餐"] = t.offerName, r
                            }
                        }, {
                            selector: "[name='memberChg']",
                            selectorName: "成员变更",
                            virtualOrderId: "add",
                            action: "toOrder",
                            type: "so",
                            data: function () {
                                var e = $(this.el).find("#edOrderList :radio:checked"), t = e.data(), r = {};
                                return r.csNbr = this.gSession.custTokenId, "acct" == t.type ? (r["套餐"] = e.closest(".package_cont").prev().find("#offerName").text(), r["角色"] = t.data.roleName, r["账户合同号"] = t.data.acctCd) : t.prodId ? (r["套餐"] = t.offerName, r["角色"] = $(this.el).find("#edOrderList :radio:checked").parent().next().text().trim(), r["产品"] = t.prodName, r["接入号"] = t.accNum) : r["套餐"] = t.offerName, r
                            }
                        }, {
                            selector: "[name='offerShiftBtn']",
                            selectorName: "换挡",
                            virtualOrderId: "add",
                            action: "toOrder",
                            type: "so",
                            data: function () {
                                var e = $(this.el).find("#edOrderList :radio:checked"), t = e.data(), r = {};
                                return r.csNbr = this.gSession.custTokenId, "acct" == t.type ? (r["套餐"] = e.closest(".package_cont").prev().find("#offerName").text(), r["角色"] = t.data.roleName, r["账户合同号"] = t.data.acctCd) : t.prodId ? (r["套餐"] = t.offerName, r["角色"] = $(this.el).find("#edOrderList :radio:checked").parent().next().text().trim(), r["产品"] = t.prodName, r["接入号"] = t.accNum) : r["套餐"] = t.offerName, r
                            }
                        }, {
                            selector: ".qryDtl",
                            selectorName: "详情",
                            action: "toDetail",
                            type: "sensitiveInfo",
                            data: function () {
                                var e = $(this.el).find("#edOrderList :radio:checked"), t = this.gSession, r = e.data(),
                                    a = {};
                                return r.offerInstId ? (a.qryObj = r.offerInstId, a.qryObjType = "OFFER", a.qryPoint = "1001", a.custId = t.custInfo.custId, a.verifyFlag = t.verifyFlag) : r.prodInstId && (a.qryObj = r.prodInstId, a.qryObjType = "PROD", a.qryPoint = "1001", a.custId = t.custInfo.custId, a.verifyFlag = t.verifyFlag), a
                            }
                        }]
                    },
                    methods: {
                        _doChgOrd: {
                            selectorName: "购物车初始化",
                            action: "prepareOrder",
                            behavior: "start",
                            type: "so",
                            data: function (e) {
                                return {
                                    csNbr: this.gSession.custTokenId,
                                    serviceOfferName: e.serviceOfferName,
                                    serviceOfferId: e.serviceOfferId
                                }
                            }
                        },
                        _doAttached: {
                            selectorName: "购物车初始化",
                            action: "prepareOrder",
                            behavior: "start",
                            type: "so",
                            data: function () {
                                return {csNbr: this.gSession.custTokenId, serviceOfferName: "订购附属"}
                            }
                        },
                        _judgeIsCompOffer: {
                            selectorName: "购物车初始化",
                            action: "prepareOrder",
                            behavior: "start",
                            type: "so",
                            data: function () {
                                return {csNbr: this.gSession.custTokenId}
                            }
                        },
                        _doShift: {
                            selectorName: "购物车初始化",
                            action: "prepareOrder",
                            behavior: "start",
                            type: "so",
                            data: function () {
                                return {csNbr: this.gSession.custTokenId, serviceOfferName: "套餐换挡"}
                            }
                        }
                    }
                });
            }
        } catch (ex) {
            console.error(ex);
        }
    })(window.vita);</script>
    <script>!function (t, e, i, o) {
        try {
            if (i && o) {
                var a;
                if (t[i] && (a = t[i].prototype), !a) {
                    var r = e.widget.self("getWidget", i);
                    r && (a = r.prototype)
                }
                a && (a.___mda___ = o)
            }
        } catch (d) {
            console.error("attachMDA.js : MDA附加失败...")
        }
    }(window, window.vita, "edOrderMain", {
        "SHIFT_PACKAGE_ON": false,
        "BUSI_SPECIAL_ENTERS": {
            "2022春促计划": [{
                "code": "exchangeOffer",
                "offerPackageId": "10200002",
                "name": "升魔盘"
            }, {"code": "offerChange", "offerPackageId": "10200002", "name": "加装魔盘"}, {
                "code": "offerChange",
                "offerPackageId": "10201001",
                "name": "升级三千兆"
            }, {"code": "offerChange", "offerPackageId": "10202001", "name": "加装智能设备"}]
        },
        "SHIFT_OFFER_PARALLEL_MODE": "0",
        "PRIMARY_CUST_ON": "N",
        "MERGE_PAY_SWITHC": "Y",
        "ACCT_DISCOUNT_ON": "N",
        "OFFER_ATTACHED_ON": "N"
    });</script>
</div>
</body>
</html>